const removeConsolePlugin = [];
// 生产环境移除console
if(process.env.NODE_ENV === 'production') {
  removeConsolePlugin.push("transform-remove-console");
}
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [
    [
      'import',
      { libraryName: "ant-design-vue", libraryDirectory: "es", style: true }
    ],
    [
      'component',
      {
        libraryName: "element-ui",
        styleLibraryName: "theme-chalk"
      }
    ]
    // [...removeConsolePlugin]
  ]
}
